<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
use think\facade\Route;

Route::get('think', function () {
    return 'hello,ThinkPHP6!';
});

Route::get('hello/:name', 'index/hello');
//登录页面
Route::get('loginShow','Login/loginShow');
//登录
Route::post('loginData','Login/loginData');
//展示列表页面
Route::get('showList','Index/showList');
//展示详情页面
Route::get('showDetail','Index/showDetail');
//购买商品生成订单
Route::get('getOrder','Order/getOrder');
//支付宝支付页面
Route::post('alipayPage','Order/alipayPage');
//回调地址
Route::get('rollBack','Order/rollBack');

